import request from '@/utils/request'

// 查询NovelStoryboard列表
export function listStoryboard(query) {
  return request({
    url: '/novel/storyboard/list',
    method: 'get',
    params: query
  })
}

// 查询NovelStoryboard详细
export function getStoryboard(id) {
  return request({
    url: '/novel/storyboard/' + id,
    method: 'get'
  })
}

// 新增NovelStoryboard
export function addStoryboard(data) {
  return request({
    url: '/novel/storyboard',
    method: 'post',
    data: data
  })
}

// 修改NovelStoryboard
export function updateStoryboard(data) {
  return request({
    url: '/novel/storyboard',
    method: 'put',
    data: data
  })
}

// 删除NovelStoryboard
export function delStoryboard(id) {
  return request({
    url: '/novel/storyboard/' + id,
    method: 'delete'
  })
}
